/*
 *
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: IPresenter.java
 *   @Date: 11/29/18 3:21 PM
 *   @Author: chenjun
 *   @Copyright（C）: 2018 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 *
 */

package io.bhex.baselib.mvp;

import android.content.Intent;
import android.os.Bundle;

public interface IPresenter<V> {

    String getString(int resId);

    V getUI();

    void onUIReady(BaseCoreActivity activity, V ui);

    void onStart();

    void onResume();

    void onPause();

    void onStop();

    void onDestroy();

    void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults);

    void onRestoreInstanceState(Bundle savedInstanceState);

    void onSaveInstanceState(Bundle outState);

    void onActivityResult(int requestCode, int resultCode, Intent data);
}
